package com.aop;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import sun.misc.Perf;

public class TestBeforeAndAfter {
  public static void main(String[] args) {
    ApplicationContext context = new ClassPathXmlApplicationContext("spring-idol.xml");
    Performer performer = (Performer) context.getBean("eddie");
    performer.perform();
  }
}
